---
title: Dynatrace configuration of OTLP exporter
subtitle: Configure the OTLP trace exporter for Dynatrace
description: Configure the OpenTelemetry Protocol (OTLP) trace exporter for Dynatrace in the Apollo GraphOS Router or Apollo Router Core.
context:
  - telemetry
redirectFrom:
  - /graphos/routing/observability/telemetry/trace-exporters/dynatrace
---

This tracing exporter is a configuration of the [OTLP exporter](/graphos/routing/observability/telemetry/trace-exporters/otlp) to use with [Dynatrace](https://dynatrace.com/).

For general tracing configuration, refer to [Router Tracing Configuration](/router/configuration/telemetry/exporters/tracing/overview).

## Dynatrace configuration

To configure the router:

- Enable the [OTLP exporter](/router/configuration/telemetry/exporters/tracing/otlp#configuration)
-  Set the `protocol` as `http`;  Dynatrace [doesn't currently support](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/otlp-export) `grpc`
- Provide your Dynatrace endpoint
- Provide your Dynatrace API token in the `Authorization` header; the header should start with [`Api-token` and then your Dynatrace token](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/otlp-export#authentication-export-to-activegate)

```yaml title="router.yaml"
telemetry:
  exporters:
    tracing:
      otlp:
        enabled: true
        # Endpoint for your region.
        endpoint: <dynatrace-endpoint>
        protocol: http
        http:
          headers:
            Authorization: Api-Token <dynatrace-token>
```

<Note>

You must specify `protocol: http` or the exporter will fail to connect to Dynatrace. Additionally, if your Dynatrace endpoint does not contain a port, you must append `:443` to the endpoint. For example: `https://subdomain.live.dynatrace.com:443/api/v2/otlp/v1/traces`.

</Note>

For more details about Dynatrace configuration, see [Dynatrace's docs on OpenTelemetry configuration](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/otlp-export).
